import { AutoIncrementId, CreateDate, DisplayOrder, Entity, PrimaryKey, Title, UpdateDate } from "@sker/core";
import { PrimaryGeneratedColumn } from 'typeorm'


@Entity({ name: 'jd_room_type' })
export class JdRoomType {
    @PrimaryGeneratedColumn()
    id: number;

    @Title({ comment: '英文', default: '' })
    name: string;

    @Title({ comment: '中文', default: '' })
    name_cn: string;

    @CreateDate()
    create_date: Date;

    @DisplayOrder()
    displayorder: number;

    @UpdateDate()
    update_date: Date;
}